package com.kingdee.eas.custom.common;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class BasicFacadeFactory
{
    private BasicFacadeFactory()
    {
    }
    public static com.kingdee.eas.custom.common.IBasicFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.common.IBasicFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("9D8610BD") ,com.kingdee.eas.custom.common.IBasicFacade.class);
    }
    
    public static com.kingdee.eas.custom.common.IBasicFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.common.IBasicFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("9D8610BD") ,com.kingdee.eas.custom.common.IBasicFacade.class, objectCtx);
    }
    public static com.kingdee.eas.custom.common.IBasicFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.common.IBasicFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("9D8610BD"));
    }
    public static com.kingdee.eas.custom.common.IBasicFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.common.IBasicFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("9D8610BD"));
    }
}